Skip to content

Fix bad test logic for bwos lifo queue#1968

Merged
ericniebler merged 1 commit intoNVIDIA:mainfrom
maikel:maikel/bwos-test-fix
Mar 29, 2026
Merged

Fix bad test logic for bwos lifo queue#1968
ericniebler merged 1 commit intoNVIDIA:mainfrom
maikel:maikel/bwos-test-fix

Conversation

@maikel
Copy link
Copy Markdown
Collaborator

@maikel maikel commented Mar 29, 2026

The thief loop exited on the first steal_front() == 0:

If the thief gets a momentary 0 (e.g., between block transitions before the owner has granted a new block), it exits permanently. The owner then spinned forever on a full queue with no thief to drain it.

The thief loop exited on the first steal_front() == 0:

If the thief gets a momentary 0 (e.g., between block transitions before the owner has granted a new block), it exits permanently. The owner then spinned forever on a full queue with no thief to drain it.
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 29, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler
Copy link
Copy Markdown
Collaborator

/ok to test d66bd17

@ericniebler ericniebler merged commit 7872de7 into NVIDIA:main Mar 29, 2026
49 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants